package com.lysj.admin.master.bussiness.admin.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lysj.admin.master.bussiness.admin.domain.CompanyProviderBind;
import com.lysj.admin.master.bussiness.admin.vo.BalanceVO;
import com.lysj.admin.master.bussiness.admin.vo.RechargeRecordVO;
import org.apache.ibatis.annotations.Param;


/**
 * @author Created by drj on 2020-01-03 16:25
 * @description
 */
public interface CompanyProviderBindMapper extends BaseMapper<CompanyProviderBind> {

    //充值账户
    Page<RechargeRecordVO> findByCompanyIdRechargeRecord(Page<CompanyProviderBind> page, @Param(Constants.WRAPPER) Wrapper<CompanyProviderBind> wrapper);

    //余额明细
    Page<BalanceVO> findByCompanyIdBalance(Page<CompanyProviderBind> page, @Param(Constants.WRAPPER) Wrapper<CompanyProviderBind> wrapper);

}
